package com.lw.question10;

/**
 * @author LW
 * @2020/9/17 15:55
 */
public class 同构数3 {
    public static void main(String[] args) {
        for (int i = 2; i <= 99; i++) {//输出 2~99 之间的同构数
            if ((i*i-i)%10==0){
                System.out.println(i);
            }
        }
    }
}
